import type { RouteRecordRaw } from 'vue-router'

/**
 * 静态路由设置--》全局
 * @author ellwood
 * @date 2024-10-28
 * @version 1.0.0
 */
const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('@/pages/home.vue'),
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/pages/login.vue'),
  },
  {
    path: '/:any(.*)',
    name: 'notFound',
    component: () => import('@/pages/error.vue'),
  },
] as RouteRecordRaw[]

export default routes
